home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
editor
/
editor2
/
htmlttxd.lha
/
HTMLtoTeXAid.readme
next >
Wrap
Text File
|
1996-12-30
|
1KB
|
45 lines
Short: html2tex postprocessor, converts double apostrophes and *bold*
Author: David Fong
Type: text/tex
Description
Post-processor for html2tex (also to be found in text/tex).
Converts double apostrophes (") to `` and ''.
Also converts *bold* pairs (marked by asterisks) into jmsempth{bold}.
Usage
HTMLtoTeXAid infile outfile
The program will ask for confirmation, you can either just tap
return or enter y/yes/yo (or anything else starting with `y') to
do the conversion, other response are considered to be `no'.
The two replacement strings can overlap in their area of influence.
Programming notes
Written in ARexx.
Quite customizable. For example, look at lines 20 to 22.
find_string.1 contains the string to search for, which happens to
be the asterisk. repl_strng1.1 and repl_strng2.1 contain the strings
which will alternately replace the asterisk.
Similarly, lines 30 to 32.
v 1.0 30 December 1996.
Multiple changes just prior to release!
Will only print out text again if it has been changed.
Will accept any word starting with `y' as a request to change text.
Provided new example file (the one I actually used to develop the
program is missing...)